<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * 推广
 */
class Spreadservice {
    private $IC;//CI对象
    private $user_id;//用户id
    private $finance_talbe;//溜溜币交易记录表
    private $experience_table;//积分交易记录表
    private $spread_table;//推广好友记录表
    
    public function __construct() {
        //通过引用的方式赋给变量来初始化原始的CodeIgniter对象
        $this->CI = &get_instance();
        $this->finance_talbe = 'finance_list';
        $this->experience_table = 'experience_list';
        $this->spread_table = 'users_spread';
    }
    /**
     * 获取推广人数
     */
    public function getusers($user_id){
        $result = array();
        $page = $_GET["pageIndex"];
        
        $this->user_id = $user_id;
        $type = $_GET['type'];
    }
    
}
